//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.DictItemGroupDetailDto;
//import java.io.Serializable;
////import com.rt.schedulebase.service.IDictItemGroupDetailService;
//import com.rt.schedulebase.entity.DictItemGroupDetail;
//import com.rt.schedulebase.mapper.DictItemGroupDetailMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//import com.rt.schedulebase.service.IDictItemGroupDetailService;
//
//public class DictItemGroupDetailServiceImpl extends ServiceImpl<DictItemGroupDetailMapper, DictItemGroupDetail> implements IDictItemGroupDetailService
//{
//@Override
//    public boolean insertSelective(final DictItemGroupDetail dictItemGroupDetail) {
//        return this.retBool(Integer.valueOf(((DictItemGroupDetailMapper)this.baseMapper).insert(dictItemGroupDetail)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((DictItemGroupDetailMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final DictItemGroupDetail dictItemGroupDetail) {
//        return this.retBool(Integer.valueOf(((DictItemGroupDetailMapper)this.baseMapper).updateById(dictItemGroupDetail)));
//    }
//
//@Override
//    public DictItemGroupDetail selectByPrimaryKey(final String key) {
//        return (DictItemGroupDetail)((DictItemGroupDetailMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<DictItemGroupDetail> getList(final DictItemGroupDetailDto dto) {
//        final QueryWrapper<DictItemGroupDetail> qw = (QueryWrapper<DictItemGroupDetail>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("ITEM_CODE", dto.getItemCode());
//        map.put("ITEM_NAME", dto.getItemName());
//        qw.allEq((Map)map, false);
//        final List<DictItemGroupDetail> list = (List<DictItemGroupDetail>)((DictItemGroupDetailMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<DictItemGroupDetail> getListAll() {
//        return (List<DictItemGroupDetail>)((DictItemGroupDetailMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final DictItemGroupDetail dictItemGroupDetail) {
//        final UpdateWrapper<DictItemGroupDetail> uw = (UpdateWrapper<DictItemGroupDetail>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("GROUP_CODE", dictItemGroupDetail.getGroupCode());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((DictItemGroupDetailMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final DictItemGroupDetail dictItemGroupDetail) {
//        final UpdateWrapper<DictItemGroupDetail> uw = (UpdateWrapper<DictItemGroupDetail>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("GROUP_CODE", dictItemGroupDetail.getGroupCode());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((DictItemGroupDetailMapper)this.baseMapper).update(dictItemGroupDetail, (Wrapper)uw)));
//    }
//
//@Override
//    public DictItemGroupDetail getInfo(final DictItemGroupDetailDto dto) {
//        final QueryWrapper<DictItemGroupDetail> qw = (QueryWrapper<DictItemGroupDetail>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("GROUP_CODE", dto.getGroupCode());
//        qw.allEq((Map)map, false);
//        return (DictItemGroupDetail)((DictItemGroupDetailMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
